{% extends "VozminoskiStoreBundle:Admin:layout.html.twig" %}
{% block content %}
<h1>Orders list</h1>

<table class="table table table-bordered table-hover table-striped">
    <thead>
        <tr>
            <th>Id</th>
            <th>Data</th>
        </tr>
    </thead>
    <tbody>
    {% for entity in entities %}
        <tr>
            <td>{{ entity.id }}</td>
            <td><a href="{{ path('admin_order_show', { 'id': entity.id }) }}">{{ entity.createdAt | date('d/m/Y H:i')}}</a></td>
        </tr>
    {% endfor %}
    </tbody>
</table>

{% endblock %}
